#ifndef DLGTABLEEDIT_H
#define DLGTABLEEDIT_H

#include <QDialog>
#include <QtSql>
#include "ui_dlgTableEdit.h"
class DlgTableEdit : public QDialog
{
Q_OBJECT
public:
    explicit DlgTableEdit(QWidget *parent = 0);
    void setTableName(QString tablename);
signals:

public slots:
    void on_pushButton_add_clicked();
    void on_pushButton_delete_clicked();
    void accept();
    void reject();
private:
    //QString tableName;
    QSqlRelationalTableModel *model;
    Ui::DialogTableEdit ui;
};

#endif // DLGTABLEEDIT_H
